package com.bt.lms.ui.action.teacher.basic.info;

import com.bt.lms.ui.page.common.action.pageteaching.TeacherLabAction;
import com.bt.lms.ui.page.info.PageTeacherBasicInfo;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

public class CheckTeacherBasicDetailBtn implements EventHandler {
    @Override
    public void handle(Event event) {
        PageTeacherBasicInfo pageTeacherBasicInfo = new PageTeacherBasicInfo();
        Pane pane = TeacherLabAction.pageSkipInfo.getPane();
        Integer index = TeacherLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index,pageTeacherBasicInfo);
    }
}
